package com.itheima.method;

public class method7 {
    public static void main(String[] args) {

        int[] arr = {10, 20, 30};
        System.out.println("调用change方法前:" + arr[1]);
        change(arr);     //把number的值50克隆一份交给change方法的形参 abc
        System.out.println("调用方法后:" + arr[1]);
    }

    public static void change(int[] brr) {
       brr = new int[5];
       brr[1] = 200;

    }
}